(mac-dnd-drop-data): Remove redundant check.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Jun 2007 00:12:32 +0000 (00:12 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Jun 2007 00:12:32 +0000 (00:12 +0000)
lisp/term/mac-win.el

index 6370b40d3675a7cc9684b8ac54b73297a444c64d..0c9abe2f83738923d3e02aa3584e0c07625af7fb 100644 (file)
@@ -2252,7 +2252,7 @@ See also `mac-dnd-known-types'."
         (handler (cdr type-info))
         (w (posn-window (event-start event))))
     (when handler
-      (if (and (windowp w) (window-live-p w)
+      (if (and (window-live-p w)
               (not (window-minibuffer-p w))
               (not (window-dedicated-p w)))
          ;; If dropping in an ordinary window which we could use,